#include <my_header.h>
typedef struct train_s {
    int cmd;
	int length;
    char data[1000];
} train_t;//客户端和服务端协议设计要一致 

int cmd_parse(const char *str, train_t *train, char **localAddr);
